﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UserModels;
using UserModels.DTO;

namespace UserRepositorys.Intface
{
    public interface IAccountRoleRepository: IRepository<AccountRoleModel>
    {
        /// <summary>
        /// 查询全部
        /// </summary>
        /// <returns></returns>
        Task<List<AccountRoleModel>> GetAccountRole();

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<int> DeleteAccountRole(int id);
    }
}
